package com.hifar.test.syncData.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hifar.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author zhuWeiWei
 * @description 同步数据导出记录
 * @date 2025/4/11 11:06
 */
@Data
@ApiModel("同步数据导入记录")
@TableName("hf_env_sync_data_import_task")
public class HfEnvSyncDataImportTask extends BaseModel {

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("导入开始时间")
    private Date startTime;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("导入结束时间")
    private Date endTime;

    @ApiModelProperty("导入进度")
    private BigDecimal schedule;

    @ApiModelProperty("导入文件桶前缀")
    private String bucketPre;

    @ApiModelProperty("导入文件路径")
    private String filePath;


    @ApiModelProperty("临时文件路径")
    private String tempPath;


    @ApiModelProperty("任务数量")
    private Integer taskCount;


    @ApiModelProperty("同步编码")
    private String syncCode;
}
